<h1><%= @page_title %></h1>
<%= form_for @group, :url => { :action => "create" } do |f| %>
<p>
  <%= label_tag(:setting_id, "Please select setting") %>
  <%= collection_select(:group, :setting_id, Setting.all, :id, :name) %>
</p>
<p>
  <%= label_tag("Please select teams") %>
  <br>
  <%= label_tag(:j1P,"初一普") %><%= check_box_tag :j1P,1,true %>
  <%= label_tag(:j2P,"初二普") %><%= check_box_tag :j2P,1,true %>
  <%= label_tag(:j3P,"初三普") %><%= check_box_tag :j3P,1,true %>
  <%= label_tag(:s1P,"高一普") %><%= check_box_tag :s1P,1,true %>
  <br>
  <%= label_tag(:s2W,"高二文") %><%= check_box_tag :s2W,1,true %>
  <%= label_tag(:s2L,"高二理") %><%= check_box_tag :s2L,1,true  %>
  <%= label_tag(:s3W,"高三文") %><%= check_box_tag :s3W,1,true  %>
  <%= label_tag(:s3L,"高三理") %><%= check_box_tag :s3L,1,true  %>
</p>
  <%= label_tag(:sex, "Please select sex") %>
  <br>
  <%= label_tag(:male,"男") %><%= check_box_tag :male,1,true %>
  <%= label_tag(:female,"女") %><%= check_box_tag :female,1,true %>
</p>
<%= f.submit "Create" %>
<% end %>
